package com.example.cloud.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.cloud.biz.HelloBiz;

/**
 * HelloAction
 *
 * @author tongyufu
 */
@RestController
public class HelloAction {

    @Autowired
    private HelloBiz helloService;

    /**
     * hello
     *
     * @return hello
     */
    @RequestMapping("/feign-hello")
    public String hello() {
        return helloService.hello();
    }

}
